/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "向量.h"

#include "../../../S_Physics.h"



S_Physics* f_创建PhysX物理引擎();


S_物理材质* f_PhysX物理材质(S_Physics* 解算器, float32 静摩擦, float32 动摩擦, float32 恢复系数);



S_物理几何体* f_PhysX平面几何体(S_Physics* 解算器, const vec4& v);
S_物理几何体* f_PhysX长方体几何体(S_Physics* 解算器, const vec3& v);
S_物理几何体* f_PhysX凸壳几何体(S_Physics* 解算器, const S_三角Mesh mesh);
S_物理几何体* f_PhysX网格几何体(S_Physics* 解算器, const S_三角Mesh mesh);


S_物理体* f_PhysX刚体(S_Physics* 解算器, S_物理几何体& geom, S_物理材质& mat);
S_物理体* f_PhysX静态(S_Physics* 解算器, S_物理几何体& geom, S_物理材质& mat);
S_物理体* f_PhysX控制Body(S_Physics* 解算器, S_物理几何体& geom, S_物理材质& mat);


S_物理体* f_PhysX创建车轮(S_Physics* 解算器, const S_车轮参数& 属性, S_物理几何体& geom, S_物理材质& mat);
S_物理体* f_PhysX创建车(S_Physics* 解算器, S_车体参数& 车体参数);


